﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GoodDotNet.Core.Model
{
    public class TableColumn
    {
        /// <summary>
        /// 列名
        /// 
        /// </summary>

        public string COLUMN_NAME { get; set; }

        /// <summary>
        /// 列类型
        /// </summary>
        public string COLUMN_TYPE { get; set; }

        /// <summary>
        /// 数据类型
        /// </summary>
        public string DATA_TYPE { get; set; }

        /// <summary>
        /// 字符串长度
        /// </summary>
        public int? CHARACTER_MAXIMUM_LENGTH { get; set; }

        /// <summary>
        /// 是否为空
        /// </summary>
        public string IS_NULLABLE { get; set; }

        /// <summary>
        /// 列默认值
        /// </summary>
        public string? COLUMN_DEFAULT { get; set; }

        /// <summary>
        /// 列备注
        /// </summary>
        public string? COLUMN_COMMENT { get; set; }
    }
}
